rf = input()
if (one) in rf:
    print('2')
else:
    print("Wrong input")
